package com.neusoft.bizcore.activiti.repository;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.bizcore.activiti.model.WorkOrder;

public interface WorkOrderRepository extends JpaRepository<WorkOrder, Long>, CustomizedWorkOrderRepository {

    WorkOrder findByWorkOrderNum(String workorderNum);

    WorkOrder findByInstanceId(String instanceId);

    void deleteByWorkOrderNum(String workorderNum);

}
